package action

import akka.actor.{Actor, ActorSystem}
import akka.util.Timeout

import scala.concurrent.duration.SECONDS

/**
 * @Description: TODO
 * @Author: DJJ
 * @Date: 2019/12/7 15:12
 */
class SClient(remoteAddress:String){

  private implicit  val timeout=Timeout(2 ,SECONDS)
  val system=ActorSystem("LocalSystem")
  private val remoteDb=system.actorSelection(s"akka.tcp://akkademy@$remoteAddress/user/akkademy-db")

}
